package com.atos.smp.util;

import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;

public class DateUtil {
	private static int day;
	private static int month;
	private static int year;
	private static int hour;
	private static int minute;
	private static int second;
	private static Date date = new Date();
	
	public DateUtil(Date date) {
		Calendar c = new GregorianCalendar();
		c.setTime(date);
		
	}

	public static Date getDate(int day, int month, int year, int hour, int minute,
			int second) {
		Calendar c = new GregorianCalendar();
		c.set(year, month, day, hour, minute, second);
		return c.getTime();
	}

	public static int getDay() {
		return day;
	}

	public static int getMonth() {
		return month;
	}

	public static int getYear() {
		return year;
	}

	public static int getHour() {
		return hour;
	}

	public static int getMinute() {
		return minute;
	}

	public static int getSecond() {
		return second;
	}
	
	
	
}
